package com.sl.design_pattern.factory_method;

/**
 * Created by lisulong on 2019/11/22.
 */
public class Main {
    public static void main(String[] args){
        //客户要产品A
        Factory mFactoryA = new FactoryA();
        mFactoryA.Manufacture().Show();

        //客户要产品B
        Factory mFactoryB = new FactoryB();
        mFactoryB.Manufacture().Show();
    }
}
